package com.lxq.LeetCode.multiply;

public class Solution {
    public static void main(String[] args) {
        System.out.println(multiply("100000","100000"));
    }

    public static String multiply(String num1, String num2) {
        if (num1.equals("0") || num2.equals("0")) {
            return "0";
        }
        if (num1.equals("1") || num2.equals("1")) {
            return num1.equals("1") ? num2 : num1;
        }
        String res = "";

        return res;
    }
}
